import '../css/style.css'
import '../css/style.less'

const divEl = document.createElement('div')
divEl.className = 'box font'
divEl.innerHTML = 'dom'

document.body.appendChild(divEl)

import '../css/img.css'
import '../font/iconfont.css'
import tank from '../img/tank.png'

// 背景图片
const bgDivEl = document.createElement('div')
bgDivEl.className = 'img-bg'

// img
const imgEl = document.createElement('img')
imgEl.src = tank
imgEl.style = 'width: 300px'

// i元素
const iEl = document.createElement('i')
iEl.className = 'iconfont icon-ashbin'

document.body.appendChild(bgDivEl)
document.body.appendChild(imgEl)
document.body.appendChild(iEl)
